package com.example.makerspace.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AgencyProductRelationshipsDTO extends BaseDTO{
    @ApiModelProperty(value = "用户名",required = true)
    private  String username;
    @ApiModelProperty(value = "包",required = true)
    private  String productPackage;
    @ApiModelProperty(value = "状态",required = true)
    private  String state;
    @ApiModelProperty(value = "文件大小",required = true)
    private  String fileSize;
    @ApiModelProperty(value = "公司名称",required = true)
    private  String entName;
    @ApiModelProperty(value = "头像",required = true)
    private  String avatar;
    @ApiModelProperty(value = "代理说明书",required = true)
    private List<MultipartFile> agentManual;
    @ApiModelProperty(value = "公司介绍", required = true)
    private  String companyIntroduction;
    @ApiModelProperty(value = "产品名称", required = true)
    private  String productName;
    @ApiModelProperty(value = "代理期限", required = true)
    private  List<String> deadline;

}
